package tools;

import java.util.List;

public class Page<T> 
{
    private int pageSize;
    private long start;
    private List<T> data;
    private long totalCount;


    public Page(long start, long totalSize, int pageSize, List<T> data)
    {
        this.pageSize = pageSize;
        this.start = start;
        totalCount = totalSize;
        this.data = data;
    }


	public int getPageSize() {
		return pageSize;
	}


	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}


	public long getStart() {
		return start;
	}


	public void setStart(long start) {
		this.start = start;
	}


	public List<T> getData() {
		return data;
	}


	public void setData(List<T> data) {
		this.data = data;
	}


	public long getTotalCount() {
		return totalCount;
	}


	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

} 
